function build_name(firstName) {
    var restOfNames = [];
    for (var _i = 1; _i < arguments.length; _i++) {
        restOfNames[_i - 1] = arguments[_i];
    }
    return firstName + " " + restOfNames.join(" ");
}
console.log(build_name("zhangsan", "lisi", "wangwu"));
